package com.ruoyi.system.service;

import com.ruoyi.system.domain.HatchetMerchantIncreaseLimit;
import com.ruoyi.system.domain.HatchetPlan;

import java.util.List;
import java.util.Map;

/**
 * 商户信用卡 服务层
 * 
 * @author ruoyi
 * @date 2019-03-02
 */
public interface IHatchetMerchantIncreaseLimitService 
{
	/**
     * 查询商户信用卡信息
     * 
     * @param iD 商户信用卡ID
     * @return 商户信用卡信息
     */
	public HatchetMerchantIncreaseLimit selectHatchetMerchantIncreaseLimitById(String iD);
	
	/**
     * 查询商户信用卡信息
     * 
     * @param cardNo 商户信用卡IcardNo
     * @return 商户信用卡信息
     */
	public HatchetMerchantIncreaseLimit selectHatchetMerchantIncreaseLimitByCardNo(String cardNo);
	
	/**
     * 查询商户信用卡列表
     * 
     * @param hatchetMerchantIncreaseLimit 商户信用卡信息
     * @return 商户信用卡集合
     */
	public List<HatchetMerchantIncreaseLimit> selectHatchetMerchantIncreaseLimitList(HatchetMerchantIncreaseLimit hatchetMerchantIncreaseLimit);
	
	/**
     * 新增商户信用卡
     * 
     * @param hatchetMerchantIncreaseLimit 商户信用卡信息
     * @return 结果
     */
	public int insertHatchetMerchantIncreaseLimit(HatchetMerchantIncreaseLimit hatchetMerchantIncreaseLimit);
	
	/**
     * 修改商户信用卡
     * 
     * @param hatchetMerchantIncreaseLimit 商户信用卡信息
     * @return 结果
     */
	public int updateHatchetMerchantIncreaseLimit(HatchetMerchantIncreaseLimit hatchetMerchantIncreaseLimit);
		
	/**
     * 删除商户信用卡信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteHatchetMerchantIncreaseLimitByIds(String ids);
	
	/**
	 * 经理人查询信用卡信息 不查敏感安全字段
	 * @param hatchetMerchantIncreaseLimit
	 * @return
	 */
	public List<HatchetMerchantIncreaseLimit> selectHatchetMerchantIncreaseLimitListForJLR(
			HatchetMerchantIncreaseLimit hatchetMerchantIncreaseLimit);
	
	/**
	 * 查看信用卡在跑的计划(计划表的sTATUS:10A未执行，10B进行中)
	 *
	 * @param limit
	 * @return
	 */
	public List<HatchetPlan> selectPlanByLimit(HatchetMerchantIncreaseLimit limit);
	
	/**
	 * 处理委托
	 * @param hatchetMerchantIncreaseLimit
	 * @return
	 */
	public Map<String, Object> doEntrust(HatchetMerchantIncreaseLimit hatchetMerchantIncreaseLimit);
	
	
}
